* src/nsterm.m (ns_read_socket, ns_select): Replace mainThread with
isMainThread.
return i;
}
- if ([NSThread mainThread])
+ if ([NSThread isMainThread])
{
block_input ();
n_emacs_events_pending = 0;
}
if (NSApp == nil
- || ![NSThread mainThread]
+ || ![NSThread isMainThread]
|| (timeout && timeout->tv_sec == 0 && timeout->tv_nsec == 0))
return pselect (nfds, readfds, writefds, exceptfds, timeout, sigmask);